package team.seekers.hula.course.structure.section.entity.dto;

import lombok.*;
import team.seekers.hula.common.entity.BaseDTO;

import java.util.List;

/**
 *
 * @author GH
 * @since 2022-04-30 18:05:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SectionDTO extends BaseDTO {

    private String id;

    private String name;

    /**所属的课程id*/
    private String courseId;

    /**所属的章id*/
    private String chapterId;

    /**创建者的id*/
    private String userId;

    /**是否开放试学*/
    private Integer open;

    /**节顺序（第几节）*/
    private Integer sequence;

    /**章节内容id集合*/
    private List<String> contentIds;

    private Integer type;
}
